package com.hc.sort.server.service;

import com.hc.sort.server.pojo.BusinessWindow;
import com.hc.sort.server.pojo.Caller;
import com.hc.sort.server.pojo.Ticket;

public interface TicketService {
	//取号业务
	Ticket takeTicket(String serviceTypeCode,String takeId);

	Ticket callTicket(BusinessWindow busWin, Caller caller,String callerIp);

	//重叫
	Ticket recall(int ticketId);
	
	//处理完毕
	Ticket handleFinished(int ticketId,int handleResult,String message);
}
